﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CMSModel
{
    /// <summary>
    /// 网站的图片新闻的图片
    /// </summary>
    public class PicDoc
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string PicURL { get; set; }
        /// <summary>
        /// 图片描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 对应的文章编号
        /// </summary>
        public int DocId { get; set; }
        /// <summary>
        /// 对应文章
        /// </summary>
        public virtual Doc Doc { get; set; }

        public PicDoc()
        {
            this.DocId = int.MinValue;
            this.Id = int.MinValue;
        }
    }
}
